package com.teacher.hong.service;

import com.teacher.hong.entity.BorrowRecord;

import java.sql.SQLException;

/**
 * 借钱服务接口
 */
public interface IBorrowRecordService {

    /**
     * 记录借钱
     * @param borrowRecord
     * @return 是否记录成功
     */
    boolean record(BorrowRecord borrowRecord) throws SQLException;

}
